//package com.sansi.bleFloodlight.aspect;
//
//import android.content.Context;
//
//import com.my.httpapi.api.baseUtils.LogUtils;
//import com.sansi.bleFloodlight.MyApplication;
//
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Around;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Pointcut;
//
//
//@Aspect
//public class IsLoginAspect {
//
//    @Around("a()")
//    public void weaveJoinPoint(ProceedingJoinPoint joinPoint) throws Throwable {
//        //  Context context= (Context) joinPoint.getThis();
//        if (MyApplication.isLogIn==0){
//            joinPoint.proceed();
//        }else {
//            LogUtils.e("没有登录，不去执行注解的方法");
//        }
//    }
//
//    @Pointcut("execution(@com.sansi.bleFloodlight.aop.annotation.IsLogin * *(..))")
//    private void a() {
//    }
//
//
//}
